using System;
using System.Collections.Generic;
using System.Text;

namespace Xyne.Events
{
    /// <summary>
    /// Various outcomes of the game.
    /// </summary>
    public enum GameResult
    {
        PlayerWon = 0,
        EnemyWon,
        Draw,
        Quit,
        Other
    };

    /// <summary>
    /// The sweep has started doing what it does best (hint: not grilling).
    /// </summary>
    public class GameOverEvent : Event
    {
        GameResult result;

        public GameOverEvent(Object source, GameResult result) : base(source)
        {
            this.result = result;
        }

        public GameResult Result
        {
            get { return result; }
        }
    }
}
